package com.andreiamariei.tema6.beans;

import javax.faces.bean.ManagedBean;

import com.andreiamariei.tema6.services.ForumService;

/**
 * @author andrei.amariei, 24.11.2010 04:13:05
 * 
 */
@ManagedBean
public class ForumBean {
	public String[] posts;
	
	public ForumBean() {
		posts = ForumService.GetInstance().getPosts();
	}
	
	public String[] getPosts(){
		return posts;
	}
	
}
